<form action="index" method="POST" id="frmAddPermission">
	<table cellpadding="0" cellspacing="0" width="100%" border="0">
		<!--tao tac hidden!-->
		<tr>
			<!--Bien hdn_xml_tag_list dung de luu danh sach cac THE XML tuong ung voi cac THUOC TINH cua mot doi tuong dang duoc cap nhat-->			
			<?php echo $this->formHidden("hdn_xml_tag_list",'',null); ?>			
			<!--Bien hdn_xml_value_list dung de luu danh sach cac gia tri cua cac THE XML tuong ung voi cac THUOC TINH cua mot doi tuong-->			
			<?php echo $this->formHidden("hdn_xml_value_list",'',null); ?>			
			<!--Sinh mot hidden luu list ID ma NSD chon!-->
			<?php echo $this->formHidden("hdn_object_id_list",$this->iStaffIdList,null); ?>	
			<!--Sinh mot hidden luu list quyen NSD chon!-->
			<?php echo $this->formHidden("hdn_permission_id_list",$this->userPermissionIdList,null); ?>	
			<!--Hidden luu gia tri cua list tag va list value (TagList|{*^*}|ValueList) -->
			<?php echo $this->formHidden("hdn_XmlTagValueList",$this->XmlTagValueList,null); ?>
			<!--Bien hdn_page dung de luu chi so trang hien thi hien thoi-->			
			<?php echo $this->formHidden("hdn_current_page",$this->currentPage,null); ?>	
			<!--Sinh mot hidden luu gia tri xac dinh so ban ghi / 1 trang!-->	
			<?php echo $this->formHidden("hdn_record_number_page",$this->numRowOnPage,null); ?>	
			<!--Bien hdn_filter_xml_tag_list dung de luu danh sach cac THE XML tuong ung voi cac tieu thuc loc tren giao dien DANH SACH DOI TUONG-->
			<?php echo $this->formHidden("hdn_filter_xml_tag_list",$this->filterXmlTagList,null); ?>
			<!--Bien hdn_filter_xml_tag_list dung de luu gia tri cua cac THE XML tuong ung voi cac tieu thuc loc tren giao dien DANH SACH DOI TUONG-->	
			<?php echo $this->formHidden("hdn_filter_xml_value_list",$this->filterXmlValueList,null); ?>	
			<?php echo $this->formHidden("hdn_is_update","",null); 
			echo $this->formHidden("hdn_filter",$this->strFilter,null);?>
		</tr>
	</table>
	<!--HIen thi tieu de man hinh danh sach!-->
	<table width='100%'  border='0' cellspacing='0' cellpadding='0' class="table_title">
		<tr>
			<td class="large_title" style="padding-left:7px;text-align:left;">
				<?=$this->bodyTitle;?><br>				
			</td>
		</tr>
		<tr><td style="height:10px;"></td></tr>
	</table>
	
	<table width='100%'  border='0' cellspacing='0' cellpadding='0' class="table_title" align="center">
		<tr>			
			<td style="padding-left:5px;padding-right:5px;"><?php
					//Hien thi form mo ta thong tin them moi mot doi tuong danh muc
					echo $this->staffInformation;					
				?>				
			</td>			
		</tr>
		<tr>
			<td style="padding-top:10px;">
				<label class = "normal_label" style="margin-left: 10px;margin-right: 40px;">Thuộc nhóm thành viên</label>
				<select class="textbox" id="group" name="group" class="textbox normal_label" optional = "true" style="width: 25%;">
					<option id="" value="" name="">--Chọn nhóm thành viên--</option>
					<?php
					$arrPermissionGroup = $this->arrPermissionGroup;
					echo Efy_Library::_generateSelectOption($arrPermissionGroup,'C_CODE','C_CODE','C_NAME','');?>
				</select>
			</td>
		</tr>
	</table>
	<!--Hien thi nut!-->
	<table 	width='99%'  border='0' cellspacing='0' cellpadding='0' align="center">				
		<tr>
			<td align="center" style="padding-bottom:10px">			
				<?=$this->formButton("btn_update","Cập nhật",array("type"=>"button","class"=>"link-button","onClick"=>"saveUserPermission('');"))?>								
				<?=$this->formsubmit('btn-back','Quay lại',array("onClick"=>"btn_back_onclick('../index/')","class"=>"link-button"))?>								
			</td>
		</tr>	
		
	</table>			
</form>
<script type="text/javascript">
//Update quyen cho NSD
function saveUserPermission(pAction){
	if($('#group').val()==''){
		alert('Bạn phải chọn nhóm thành viên!');
		return;
	}
	$('#hdn_is_update').val(1);
    actionUrl(pAction);  
}
</script>